package ma.xin.shi.configurations;

public class CMEntry {
    private String ecuName;
    private String macAddress;
    private String initDelayMin;
    private String initDelayMax;
    private String repetitionBaseDelay;
    private String repetitionsMax;
    private String cyclicOfferDelay;
    private String requestResponseDelayMin;
    private String requestResponseDelayMax;
    private String remark;

    // Getter 和 Setter 方法
    public String getEcuName() { return ecuName; }
    public void setEcuName(String ecuName) { this.ecuName = ecuName; }
 
    public String getMacAddr() { return macAddress; }
    public void setMacAddr(String macAddress) { this.macAddress = macAddress; }

    public String getMacAddress() { return macAddress; }
    public void setMacAddress(String macAddress) { this.macAddress = macAddress; }

    public String getInitDelayMin() { return initDelayMin; }
    public void setInitDelayMin(String initDelayMin) { this.initDelayMin = initDelayMin; }

    public String getInitDelayMax() { return initDelayMax; }
    public void setInitDelayMax(String initDelayMax) { this.initDelayMax = initDelayMax; }

    public String getRepetitionBaseDelay() { return repetitionBaseDelay; }
    public void setRepetitionBaseDelay(String repetitionBaseDelay) { this.repetitionBaseDelay = repetitionBaseDelay; }

    public String getRepetitionsMax() { return repetitionsMax; }
    public void setRepetitionsMax(String repetitionsMax) { this.repetitionsMax = repetitionsMax; }

    public String getCyclicOfferDelay() { return cyclicOfferDelay; }
    public void setCyclicOfferDelay(String cyclicOfferDelay) { this.cyclicOfferDelay = cyclicOfferDelay; }

    public String getRequestResponseDelayMin() { return requestResponseDelayMin; }
    public void setRequestResponseDelayMin(String requestResponseDelayMin) { this.requestResponseDelayMin = requestResponseDelayMin; }

    public String getRequestResponseDelayMax() { return requestResponseDelayMax; }
    public void setRequestResponseDelayMax(String requestResponseDelayMax) { this.requestResponseDelayMax = requestResponseDelayMax; }

    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }

    @Override
    public String toString() {
        return "ECUEntry{" +
                "ecuName='" + ecuName + '\'' +
                ", macAddress='" + macAddress + '\'' +
                ", initDelayMin=" + initDelayMin +
                ", initDelayMax=" + initDelayMax +
                ", repetitionBaseDelay=" + repetitionBaseDelay +
                ", repetitionsMax=" + repetitionsMax +
                ", cyclicOfferDelay=" + cyclicOfferDelay +
                ", requestResponseDelayMin=" + requestResponseDelayMin +
                ", requestResponseDelayMax=" + requestResponseDelayMax +
                ", remark='" + remark + '\'' +
                '}';
    }
}
